Added new pagination features and customizability.