Document scaffolding