We should split this method up into the parts that load (or create) the DocumentStatus and HTextFlowTargetInstance, and the bits that update it.