Change "component" to "middleware".