Finish document.
Necessary for labels.