Write doc examples