- Improve error message
- Added VM::createInstance to handle instance creation