Defined dao interface.