Memoize resolutions.