[Fix] Use identity map in PendingReferenceRegistry to prevent issues with objects with overridden equals/hashCode. (commit: f8ce33d)
SCA-based fixes. (commit: 290cdc2)