Replace `ToCamelCase()` and `ToSnakeCase()` with `ToggleCase()`.