Added set serialization support.