[Fix #128] Make automatic syntax checking customizable