Added ability to infer DocumentType value from annotated class