Added and changed docstrings.