refactor all API classes so all() methods accepts limit and offset optional params