Fixed a potential Class.name method redefinition