A generic DAO framework.