Definable model attribute types