check "superclass" for coco/ls too

not sure how we could do that more prettily