Caches likelihoods too.