Added design document memoization.