Added missing parameter to setChildNodes method