Support engine optimizations in _.reduce