Fix #1: add refresh method.
Update docs and examples.