vm/document : some more early work