Added AND, OR and XOR.