Added ( and ) to allowed characters for template names