Also 'assert x instanceof Type' fix is provided GitOrigin-RevId: 56603a5cb9ce2040525b4147cc8fcabd6f6d7d5d