Fix API loading.