Added set opcode and removed the previous classes.