Removing references from the old repository.