Now starting and stopping the middleware is more natural