Add precompilation setup to generator