Fixed documentation and examples.