Reduce unnecessary calls to GM_getValue.