Update documentation.
Add a decoding interface that can handle exceptions.