Add pagination support to getList()

#50