Added docstring and extra comment.