And yet another fix - proper handling of memory contexts in the 'accum' functions.