Refine models.