Support for serialization of member types