Fixing rubocop offenses