Switching the old RPC methods to the websocketrpc