Remove useless use of DocumentFragment