use `object_setClass()` instead of deprecated `isa`