Convert mixer methods to class Mixer.