Docs fix

Fix syntax errors for a few code examples.