add support for callable
Added test for typehints in methods
Merge pull request #14 from researchgate/master

add support for callable