Add sanity checks to importer