Add example for how to capture ``extra`` data.

Fixes #121 #167