For now union types are generated as the Object type. Otherwise expressions such as {<Blue>, <Red>} get reported as being unsupported for generation since the type of this expression is a set type of a union type