add implementation for the new DOM method of IFragments.