Fix warnings in Sphinx documentation