Add some reusable dao infrastructure.