Added pagination into list and `limit` config option