More VM code rewritting.