Export and import undefined assets as attachments.