Roughed out some untested cdb read-only code.