Move XCodecPipePair protocol ops to a header.