Removed duplicate import_module function