Type hint everything

This patch improved performance:

gets moved from 176us to 140us, an improvement 36us

puts moved from 945us to 818us, an improvement of 127us