Manager for custom middlewares