Fix 3 "offenses" detected by rubocop.