Implemented addClasses