Add model for messages.