Fixed rubocop errors.