Fix renaming of methods