Fix sphinx warnings
Fix pep8 warnings