Added syntax checker hook