Use callable typehint instead of Closure to allow functions and class methods.
Merge pull request #1 from drrcknlsn/master

Callable typehint and tests