Added default to APIClient to load opts if not provided.