Added topic and channel subscription mechanism.