Replace all opcode functions by lambda expressions