Expose cache object on the wrapped function, so end users can also extra...

Expose cache object on the wrapped function, so end users can also extract cache performance data easily.