Setting up the messages.