Expose refresh data method

Fixes #63.