Added abstract DAO class.