Added OrderedSet utility class.