Add decoding and log-likelihood