Add: various improvements/fixings to the bytecode support.