Fix foodcritic warnings