Fixed rubocop offenses.