Manager now makes use of UndoRedoManager. for adding classes and
deleting classes.