Switched Templater implementation to using new instance style instead of old prototype style.