Add the needed facility to create DX Documents. We'll see how to refactor later.