Added node-matches-p
Fixed declaration for root-node