Regenerating documents.