Add missing namespace
Fix getViolations and addViolation methods