docstrings and other unit tests.