Fixed class visibility of IdentityMap