Added define system to generator.