Little fix related to dao classes.