Instead of the explicit XML formatting/writing. Const'ify some function parameters here and in Mixer.