Removed UnitTable class.
Further genericized CachedLookup.