remove all class definitions from problems