Made setOptions allow partial options values