Issue #12 - Added ability to give custom functions.