Refactored the template name and root constants to be more specific.