Fixing CodeNarc violations