Use a more general method of adding temp vars to a scope.
Implement basic for-of support.