Add ZDefinitionTree to write tuples