Remove junk code from tail modification.