Add docstring in function.