<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def funds(self, term, field=None, **kwargs):
 """Search for funds matching a search term. Args: term (str):
 Fund id to search on field (str):
 The field to search on. Options are title, amount, org_name and type. kwargs (dict):
 additional keywords passed into requests.session.get params keyword. """

        params = kwargs
        params['q'] = term
        if field:
            params['f'] = field
        else:
            params['f'] = 'fu.org.n'
        baseuri = self._BASE_URI + 'funds'
        res = self.session.get(baseuri, params=params)
        self.handle_http_error(res)
        return res