Fix a lot of rubocop offenses.