Add more scope to MethodInterpreter inside optimizations.