Fixed codenarc errors (oops)