Add parameters to the setOptions method.