Exposing NewEncoder since GetEncoder is no longer around