API of templating engines