Fixed code example, added explicit cast to DAO<Map>