Slight improvements to docs and examples.