Added ability to append a node directly.