Monkey patched for circular import of caching.utils