Document using memoizer middleware.