Add priors to document, more fixes