Refactored the template constants to be more specific.