From FreeCAD Documentation
- It is more verbose than method 1 because we need to implement the
onDocumentRestored
method to migrate the object.
- It always adds the new properties, so it may create duplicated properties in case the new properties have the same name as the old properties. This has to be handled manually.