Changed the way mixing are defined.