Added basic DAO functionality.