Split the document_is_this_type_method