Added ! and ~ operators.