More documentation and example improvements.