isExtractNested adoppted.