Basic ops_reduction stuff, code generators still need updating