Removes the methods and properties from classes that were aggregated to an object.
object
class_name
If the optional class_name
parameters is passed,
only those methods and properties defined in that class are removed,
otherwise all aggregated methods and properties are eliminated.