Fix typos, remove unused named return values in newDecoder