Add docstring to Session.restart