This should be `models.get('name')` - if you try to access a nonexistent key like that, you get a KeyError.