Renamed cmd to model.