After the refactor and other changes, most docstrings need to be rewritten, so that we can rebuild the docs.