Make RPCFromObject lazy