Convert some of the dynamic opcode lookups into static ones.