Update the documentation with examples.