Move delete logic to CollectionIO.