Removed some middleware