Add support for more complex data types in opcode_generator.py.