DAC support

@vdorr,

thank you!
If you can open a pull request it would be perfect, otherwise I'll apply the fix by myself.