Drawing context support
* Instance ID provided by Machine
* Changed API for type definitions