Updated dynamic dispatch to call isSubtype and fixed object_class