Split out CaseNodeCodecContext.Prototype