Rename class `Template\Base` to `BaseTemplate` to prevent "undefined namespace" issues