This now belongs inside shared.js and therefore should not be here.