public function addMessages($messages, $storageType)
    {
        if ($messages instanceof Mage_Core_Model_Message_Collection) {
            $messages = $messages->getItems();
        }

        $this->scheduledMessages[$storageType] = $messages;
        return $this;
    }