Added cast to remove compile error related to ARC.
Merge branch 'master' of https://github.com/drewmccormack/ensembles