Done. (I had canUseDOM originally but lost it somewhere along the way.)