Add documentation of the RPC interface