Add function to get index of child node.
Add functions to easily get head and body elements of CM_Page.