add AWS.reset_memoization method