Merge pull request #22 from JindrichPilar/2.x

Type hint bugfix
Saving session - jistota