Some added DAO functions.