Added sub-package indices and renamed 'pub-sub' to 'pubsub'.