Fix syntax errors within code examples