Remove usage of sandbox.importFunction, fixing  breakage in Nightly