Allow running generated code in parent scope