Add closure support. Cell variables are frozen (as they are when JIT compiling).