Add functions in params support.

I found this tiny change extremely useful when I need to fetch a fresh value per upload from elsewhere.
Merge pull request #20 from spiechu/patch-1

Add functions in params support.