Add pubsub plugin. Add preventing to overwriting plugins