Setting correct Reduce class