Better handling of child and parent items.