Solving rubocop offenses I had introduced