Adds a 'setOptions' public command.