Referenced jaam.rpc, and replace some calls with jaam.rpc. Most tests passing.