Minimal generic data access layer.