Type hinting generates better error messages when an invalid session is supplied
Merge pull request #123 from Ashpants/typehint

Type hinting generates better error messages when an invalid session is ...