Add functionality for extracting parent-child links.