Added debugging info to is_subclass_of