Added conversion back to PascalCase if RetainCasing is false