Remove residue code.