caching allowedModels and ModelType locally in Store class