Added documentation from assignment to rpc functions.