Move types into source, drop Python 3.4 (#96)

* Move types into source, drop Python 3.4
* Make number_type Optional[str]
17 files changed