Export Encoder and NewEncoder