Added the messages to the base template.