Cleaning up model.