Search and pagination.

Related: #35 and #32.