Add HashMapCache.
Move UUIDResolver and make it an interface.
Add CachingResolver to cache resolved UUIDs.