Added cache to getModelValue