Fix build breackage due to CodeNarc violations