Added support for passing arguments into the 'encase' created anonymous function. Specially helpful when the anonymous function has dependencies.