Ability to define custom functions with callback + tests
Merge pull request #991 from mnapoli/custom-functions-callback

Ability to define custom functions with callback instead of class name