Added comments to generator