factor out usages of LABKEY.ExtAdapter