better support for DBPointer (but still not totally supported yet)