def setDeprecatedManageAddDelete(class_): """Instances of the class will still see their old methods called.""" deprecatedManageAddDeleteClasses.append(class_)