def METHOD_NAME(self):
    for name in self._attrs_to_clear:
        delattr(self, name)
    self._attrs_to_clear = []
    for base in self._alloced_bases:
        self.u.free(base)
    self._alloced_bases = []
    self.symbols = [(a, b, objname) for (a, b, objname) \
                    in self.symbols if objname == self.base_object]