Improve insertion position of extracted methods (cherry picked from commit 40e459117a)
40e459117a
loadModuleFromFile