Fixed a bug in the switch, all RPC commands now have handlers