Change templates and stubs to use tabs - closes #281