Add exceptions to import()