Overwrites doc.open/close while postscribe runs.