Re-work examples a lot to make "godoc" a little bit happier.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>