Added check for bitwise operations.