TTree: make DoPersist and DoRestore virtual