Reduce consing during SUBTYPEP on classes.