Adding functionality to automatically generate and parse child nodes