This irked me while I was reading the code, so I just tried to fix what I could see.
__replace__
ScopedPlaceId
ScopedSymbolId
ScopedMemberId