Replaced UnitTable by generic CachedLookup.