Revised the importing of packages in modules.