Fix generalizations
Merge branch 'master' into mcmc_seeding