Usage of `request` should be consistent, either `->request` or `->getRequest()`, but not both.