Added limit method to Pagination class