#16128: clarify that instances of user-defined classes compare equal with themselves.
#16128: merge with 3.2.
Issue #1783: Remove declarations of nonexistent private variables.
Issue #1783: Remove declarations of nonexistent private variables.