Add helper for combine middlewares.