Add robustness and customizability to import/export.