Change reductions to use schema instead of _dtype