As we add typing annotations, we'll want to use a lot of symbols from
the typing module. Typing typing all the time will be annoying. Let's
allow symbol imports from this module.
While I was here, I changed some comments from "whitelist" to "allow list"
as the former is non-inclusive terminology.