Improved the docstring of apply_reduce