Made `loadExtension` only use asyncchronous calls.