Creating the export tree model.