Fixed pagination, aswell as API doc for it