Oh, it looks like this entire file was written in a more functional way, expecting an `identityMap` property on `klass`... Is the plan to eventually move this into `Resource` and `ResourceCollection` or to leave them outside like they're written here?