Doc fixes

Formatting fixes to docs.
Changes in examples to use new component generators API.