Make document class mandatory on each document.