Add method Arrays::reduce().
Fix generated uri helpers.