When you use old code and not pass `$request` as argument, please check diff first.