Template Toolkit 2 to BEM bridge