Removed unused code from LocalRename