getFlashes() is deprecated. Use the FlashBag instead.