I think doObject and searchObject are done, but deref is required to
test it.