Break up components into different pieces of middleware.