Internal Yield extension method