Fix implementation of some opcodes.