The automatic layout destroyed the document. Rolling back.