Support for import with extensions