now have dtype <-> class conversion for sets