Python API docs fixes and cleanup