Refactoring subclasses of the Instruction class.