Change ApiClient.load to be synchronous.