Added some documentation about pubsub