Fix syntax for some code blocks