Added abstract DAO implementation.