Fix failure to notify with a hash instead of string.
Extract shared logic as Mixer class.