Basic functionality: construct, add nodes, common traversals.