Fix the docs so code examples work properly.