Working on WFE-769, need to write out the model in a separate thread.