modify Introduce Foreigin method & Introduce Local Extension.