Remove unused method
Remove deprecation warnings about using format in template name