Corrections in the Model-Sql classes.