adds in memory caching for model config methods