Added GetCommonParent.