Added ability to include child nodes in constructor