Removing unused require, fixing rubocop complaints.