Add middlewares, delete controls.