GenericDAO almost finalized.