Add documentation on the RPC mechanism.