removing CodeNarc violations