code: Add <void> casts in Cython code to ignore return values
code: Use try/finally block to invoke user-defined reduction operations