PubSub constructor now allows override of default options