'Reset the default and _auto_dereference values.'

def __exit__(self, t, value, traceback):

    self.cls._subclasses = self.cls._all_subclasses
    delattr(self.cls, '_all_subclasses')
    return self.cls
