Support functional args
Merge pull request #30 from golyshevd/args-func

Support functional args