Why adding that assert? In case someone's tempted to use ol.TileCache to cache something else that ol.Tile objects?