Adding basic pagination features and defaults