* dav_depth has to be initialized non-null, hacky so far.