Composite middlewares