Refactoring.
Extract duplicated store logic.
Simpler poll API.