Changed caching mechanism to memoize on methods that retrieve AMIs from API