Documents class refinements