Added RPC endpoints for methodsForProtocol and propertiesForProtocol.