Extend cache function and proxy method