Added a docstring.