Implementation stencil of monitors class.