Add support for sending messages.