Removed unused middlewares