Add createDocumentFragment