Fix usage of lru_cache decorator