Code snippets for the documentation.