Fixed codenarc violations.