Add memoization to concepts