Rename ancestor lookup functions