Major nuking of previous template.
Refactor.