Fix setting raw attributes of Eloquent models.