Updated Ensembles to 0.4.0.
Merge pull request #8359 from drewmccormack/master

Updated Ensembles to 0.4.0.