Fix typo.
Add a second option for encoders to return a string. Not yet finished.