I think declaring a `Set<Type>` would be more straightforward. You can use `Type.getType` to create corresponding `Type` objects