Added subscribe and unsubscribe commands.