Improved examples. Update documentation.