Compiled templates and more examples