Fix aray object reduce_ and examples