Adding array of child nodes functionality.