def template_name_from_class_name(class_name):
    """ Remove the last 'Template' in the name. """
    suffix = 'Template'
    output = class_name
    if class_name.endswith(suffix):
        output = class_name[:-len(suffix)]
    return output
