Fix displayName in templates.