Add methods to remove and replace instructions.