Remove template code
Closes #1