Move usefull IValueType definition from db api to general model api.