Added the ability to Serialize a SetType.