Fix obsolete resource deletion syntax.