Fixed get library upgrades and optionSet impl.