Split cascadeClasses from cascade
Refactor paint properties loop