Fix typo
Add tests for _checkTypehint
Simplify reflection for invokabel objects