Does it make sense to keep `invalidate_api_cache_for_class` around? It's no longer used.