Attempted to implement renameTopLevelVariable.