Implement iterator support for Set.