Refactored Repository.Delete.