Add some sets of basic protocol error detection.