Implemented pass through values from functions
Updated docs and minified version