Refactored Sphinx docs.