First pass templating