RpcMiddleware delegates the method check to the root handler