Fixed doc snippets