Renamed "amount" to "itemsPerPage".