added more type hinting
Merge remote-tracking branch 'refs/remotes/upstream/master'