added DocumentManagerDecorator (BC break in several internal classes)