Implement _call and memoization cache.