Rewrote _import_module().