Added method to unregister via the command processor