Put doT overrides directly into the template method, rather than at the global level.