Deleted Memoization. Use cachetools instead.
misc fixes