Add old RPC code from Sparrow.