Add find_common_ancestor to Types