use setOptions to set a class variable.