Docs: revise examples
(cherry picked from commit 14ac3b0)