Remove unused resource.