Removed unnecessary encoder constructors