Replaced all inline code examples with code snippets.