Document setOptions