Deleting obsolete resources.