Updated doc & example
Fixes #3