Add docs for decoding data.