I think you can just do ``model_name = properties.pop('model', None)``