Cleanup in CoreDataService.