Add support for sending multiple messages at once.