Adjusting opcodes and logs.