Delete selected definitions.
Don't delete anything if any of the specified name are not found.
Save definitions to a file.
Also save all definitions referenced by the specified definitions, directly or indirectly.
Cleanup.