Changed the sample to expand all tree nodes.