Add isInstanceOf comparison.