Added xor operation.