Silly error checking.