Change return of method rename()