support for renaming classes