Added support to limit the number of values from a REST call (per_page-param).