Templating works correctly now.