Rename according to class name