This is kinda gross, even as a temporary patch. Maybe add an `initializeIdentityMap()` method to `Resource`? Then we could rewrite as:

```js
klass.initializeIdentityMap();
```

Or do you think it is sufficiently temporary, that we do not need to worry about it?