Getting messages from view.