Added autopagination helper with callback support