Comment detectImport and doImport