Some progress on the decoding implementation.