Instead of just providing a peer object with custom bindings, provide the actual RPC calls that are allowed.