Don't add final semicolon to withSyntax

Closes #149