Moved getObjectType from DocumentType to DocumentTypeHandler