Use instanceof self if possible