Middleware creation functions now get passed the app as the first parameter rather than within the options object.