Generated directive