Cleaned snippets for documentation.