Cleanup the code examples that appear in the docs