Formatting and docstring cleanup.