simplify examples in documentation pages