Avoiding unblessed reference in methods used to guess the subclass type.