Documentation for cumulative reduce