Minor fixes to bytecode compiler. Added native handler.