Changed middlewareRequestHandler to mountedRequestHandler.