More proper interface to express; return middleware that can be given to app.use();