Add syntax, replaceblocks and error text