Updated runtime code and generated code to work with OCR v0.8.

Tested against the current runtime/master build (450d799).