Remove Document::set_root.

All callers have an AbstractDocument, and this makes my life easier later.