Fixed Rubocop errors.