Improved examples and documentation