Fix Structure::serialize().
Remove Structure and Packet from opcodes.h.