The final step of the collector simply returns the accumulator. That means that final call may be replaced by a cast.