Bug fix for CleanSLClasses