Expose useDocumentFragment method

This exposes `useDocumentFragment` for use by extension libraries.