Added docstring.