Removed middlewares loader, using plugins instead