remove deprecation call while initializing `ClassCache` object