Track setChild() calls.