'Recursively destroys the contents of this tree.'

def decompose(self):

    self.extract()
    i = self
    while (i is not None):
        next = i.next_element
        i.__dict__.clear()
        i = next
