WIP refactor of Ensembles.