def METHOD_NAME(self, container):
    """Handler for container change events from registry"""
    # We only need to update when the changed container is a DefinitionContainer.
    if isinstance(container, DefinitionContainer):
        self._update()