Added debugging for import of datasets.