Memoize a bit more of the expensive work in dispatcher