-- autodetection type of child.