code: def add_custom(self, params):
          
  
          if isinstance(params, dict) is False:
              raise InvalidUsage("custom parameters must be of type `dict`")
  
          self._custom_params.update(params)
docs: Adds new custom parameter after making sure it's of type dict.
  
          :param params: Dictionary containing one or more parameters