Fixed the RPC interface