add properties support to DAO classes.