Now enumerations with "type" property