VM improvements