Better interface with RPC