[FIX] Avoid saving twice an XML instance.