Adding new superclass for union algorithms.