app/code/community/Nexcessnet/Turpentine/Block/Core/Messages.php
public function setMessages(Mage_Core_Model_Message_Collection $messages) {
        if ($this->_fixMessages()) {
            $this->_saveMessages($messages->getItems());
        } else {
            parent::setMessages($messages);
        }
        return $this;
    }
public function setMessages(Mage_Core_Model_Message_Collection $messages) {
        if ($this->_fixMessages()) {
            $this->_saveMessages($messages->getItems());
        } else {
            parent::setMessages($messages);
        }
        return $this;
    }
public function setMessages ( Mage_Core_Model_Message_Collection $ messages ) { if ( $ this -> _fixMessages ( ) ) { $ this -> _saveMessages ( $ messages -> getItems ( ) ) ; } else { parent :: setMessages ( $ messages ) ; } return $ this ; }
Set messages collection

@param   Mage_Core_Model_Message_Collection $messages
@return  Mage_Core_Block_Messages
Set messages collection