ENH: Use STL set to avoid duplicate descendants