Memoize all the methods