@contextmanager
def added_cbs(self, cbs):
    self.add_cbs(cbs)
    (yield)
    self.remove_cbs(cbs)
@contextmanager
def added_cbs(self, cbs):
    self.add_cbs(cbs)
    (yield)
    self.remove_cbs(cbs)