Document stencil factory.