Adding factories to parent nodes