Remove #sum with a block was deprecated.