Adjusted Sphinx compatibility