I see, you are using `options` as global variable within the file. I will prefer to pass the options as parameter to the constructor of your class.