Implement extension support for the encoder