Do not return a super type if a class represents an interface.