Support for functions added to prototype
Merge pull request #16 from robso86/master

Support for functions added to prototype