Remove path throw in the LayerTree plugin

and add some doc.

fix #705