Delete unused definitions.
Modify to end implicitly.