Use appropriate session clearing (#79).