Added info about middlewares placement.