rpc uses new interface.