Extensions for set algorithms.