Deletion of unneeded resources