docstrings and stylistic.
tests docstrings.