Stencils, templates and masking

Stencils, templates and masking