Allow cache clearing in memoize_method