Adding ability to publish messages to a topic.