improved octdoc snippets