Deleting old resources.