added support for Set.