Complete definitions for LastCommonParentResult and Node classes