Corrects portfolio and repo models.