Integrated Memoize decorator into ScorePackageManager.