private void hookOptions(ExtensionHook hook) {
Vector<AbstractParam> list = hook.getOptionsParamSetList();
for (int i=0; i<list.size(); i++) {
try {
AbstractParam paramSet = list.get(i);
model.getOptionsParam().addParamSet(paramSet);
} catch (Exception e) {
// ZAP: Log the exception
logger.error(e.getMessage(), e);
}