pubsub: adding missing jsdoc.