Make tree optional