Add page, pageSize and orderings helper functions