Generate code that uses Reflect.global for global