Adding docstring.