Removing references from repository.