Make contructors of TreeData "public"