Adjusting tensor codebase to refactored design in Atlas, which uses sessions much more heavily, eliminates direct interaction with the graph driver, and removes all instance (not database) state for the graph driver.