Add and update docstrings.