Add methods to invalidate UuidResolver's cache.