'Map functions that should be called if the condition applies.'

def _Register(self, conditions, callback):

    for condition in conditions:
        registered = self._registry.setdefault(condition, [])
        if (callback and (callback not in registered)):
            registered.append(callback)
