Add setting for paginate_by option