Removing getOpcode() method as its not used anywhere