Reduce some duplication by making an Interface that supports isinstance and issubclass for compatibility with ABCs.