Document templates now support labels, references, and list (both
ordered and unordered).