Added reduce support for the chain