Implement DocumentFragment.