Add basic RPC support