Move RPC command registration to individual RPC units.