Move grammar initialization to drivers.