Updated docstrings to remove sphinx warnings.