outsource #133 to FoundationExtension