Wrote a lot of documentation with sphinx.