docs: def _replace_services_in_args(self, args):
          """ Replace service references in arguments list """
          _check_type('args', args, list)
  
          new_args = []
          for arg in args:
              if isinstance(arg, list):
                  new_args.append(self._replace_services_in_args(arg))
              elif isinstance(arg, dict):
                  new_args.append(self._replace_services_in_kwargs(arg))
              elif isinstance(arg, string_types):
                  new_args.append(self._replace_service(arg))
              else:
                  new_args.append(arg)
          return new_args