Add pubsub model support.