Actually allow disabling of middlewares. Oops
Fix mapping problem
1.1.1