Added ability to reset memoized values.