Add subscribe method for PubSub style