Add new PubSub handling along with associated API methods.