Added pagination. Close #102.