allow plugins to use documentfragment