docfrag related stuff