Treat a sequence of middleware as middleware.