Update to codex.EncoderDecoder interface