Added isKindOfClass: check.