Update docs and add example.