Restore kind_of to match using kind_of? rather than ===

Restore `kind_of(...)` to match using `kind_of?` rather than `===`

Fixes #744.
I like it the way it is because it reads like the constant.