Add publish/subscribe capabilities.