Work on more type stuff
Add utility methods for opcode conversion