Implement set children for type
Rename to avoid variable confusion