Modified docstrings and comments.