collapseClasses