Implement VM.