Fixed toctree links and incorrect references.