Rename NewEncoder-->newEncoder