Ancestor and Closest methods.