Allow to define default middlewares