chore(docs): code examples improvements