Added default pageSize if none is specified.