More work on Templarse.cs after breakfast.
Templarse.cs converted, but untested.