Fixing rubocop errors.