Add support for messages.