Added excludable nodes, Fixed root and parent.