Rubocop-driven refactoring.