Add clear_cache method to cachable object