Adds several classes and modifies existing one