adds reference to generator runtime