Refine the models.