new patent document class