Pass the right options to APIClient