Support for serializationVisitor