Minor dao improvements.