Add comments to generator.ml