Use generator adapter.