i hope i didn't throw the baby out with the bath water.
I introduced a DirichletState bean to hold the models, dirichlet distribution and the mixture, simplifying the arguments and, I think, fixing a bug in the earlier refactoring.