Preserve attributes on export.