def METHOD_NAME(self) -> None:
    if self.document is None:
        return
    for key in self._event_callbacks:
        from ..model import Model
        self.document.callbacks.subscribe(key, cast(Model, self))