Show instance name in instanceOf error message