StructType can be emitted.
To do: function definition