Use class simple name instead of object for equals