Remove redundant assignment of model.