Add syntax checking.