Add some basic stuff for pubsub examples