Create document class