Updates docstrings, formatting, and unit tests.