Is it really equivalent in that case since you use "layer.name" with "child" (not "child.name")?