Added infinite union support.