Fix session import and sphinx warnings