Added the middleware handler component.