Fixed setOptions backward compatibility after api cleanup