Improve batch function documentation.