Add support for additional reduction variables: AND, OR, XOR.