Removes previous codes by reagent.
Assignment #1.