`app` is needed to do the `app.use()` to register the middleware, and since `mojito` in this case is stateless, there is no reference to `app`.