Added pagination.  Closes #17.