Rename dm_* to double_*.
Reorder objects to match execution order.
Remove ReportPage.doc and .body-new>div.
Refactor document builders.