Add several callbacks to permit changing the maximum number of results returned in autocomplete endpoints.