Passing options from config to hook instances