Make extractOtions static