Removes the methods and properties from classes that were aggregated to
an object.
Parameters
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.