You shouldn't be using the constructor to pass options, that functionality is deprecated and will be removed eventually. You should call the "setOptions" function instead.