Added parent, child detection.