def update_locals(locals_instance, instance_iterator, *args, **kwargs):
    """import all of the detector classes into the local namespace to make it
    easy to do things like `import scrubadub.detectors.NameDetector` without
    having to add each new ``Detector`` or ``Filth``
    """
    for instance in instance_iterator():
        locals_instance.update({type(instance).__name__: instance.__class__})
