@classmethod
def detect(cls, old_config, new_config):
    """Detect if algorithm definition in `new_config` differs from `old_config`"""
    if old_config['algorithms'] != new_config['algorithms']:
        yield cls(old_config, new_config)
