Move function-expression wrapping for non-modules into the translator.