added comments to RPC classes