Removed TODO in the VM code.

I was right, there is a better way of doing this: not using references when
they're not needed.