Issue #1666 common abstraction of paginated storage was extracted.