Added methods: remove_kids_by_head, prune_by_head