Merge "Compatibility library support for general reduction."