Adding docs for map, reduce